package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberMapper {

    Long insert(Member member);

    int update(Member member);

    int deleteById(Long id);

    Member selectById(Long id);

    List<Member> selectAll();

    Member selectByOpenId(String openId);

}